package edu.scau.pos.refund.domain;

import edu.scau.pos.vo.SaleLineItemVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class RefundRecordItem implements Serializable {
    private static final long serialVersionUID = 1L;
    private String refundId;
    private String productSn;
    private String productName;
    private int quantity;
    @Schema(name = "createBy", type = "String")
    private String createBy;

    @Schema(name = "createTime", type = "Date")
    private Date createTime;

    @Schema(name = "updateBy", type = "String")
    private String updateBy;

    @Schema(name = "updateTime", type = "Date")
    private Date updateTime;

    public RefundRecordItem(String refundId, String productSn, String productName, int quantity, String createBy, Date createTime, String updateBy, Date updateTime) {
        this.refundId = refundId;
        this.productSn = productSn;
        this.productName = productName;
        this.quantity = quantity;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
    }

    public RefundRecordItem() {
    }

}
